export interface FormDefinition {
  components: Array<{
    id: string
    type: string
    field: string
    label: string
    placeholder?: string
    rules?: any[]
    options?: Array<{ label: string; value: any }>
    min?: number
    max?: number
    step?: number
    rows?: number
    dateType?: string
  }>
  layout: any
  settings: any
}

export interface Form {
  id: string
  name: string
  type: string
  folderId: string
  definition: FormDefinition
}

export interface Folder {
  id: string
  name: string
  type: 'dashboard' | 'report'
  children: Folder[]
  forms: Form[]
} 